package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接收信息对象 hg_receive_info
 *
 * @author chenming
 * @date 2024-10-16
 */
public class ReceiveInfo
{
    private static final long serialVersionUID = 1L;

    /** 接收端id */
    @TableId("receive_id")
    private Long receiveId;

    /** 接收端名称 */
    @Excel(name = "接收端名称")
    private String receiveName;

    /** 接收端地址 */
    @Excel(name = "接收端地址")
    private String receiveAddr;

    public void setReceiveId(Long receiveId)
    {
        this.receiveId = receiveId;
    }

    public Long getReceiveId()
    {
        return receiveId;
    }
    public void setReceiveName(String receiveName)
    {
        this.receiveName = receiveName;
    }

    public String getReceiveName()
    {
        return receiveName;
    }
    public void setReceiveAddr(String receiveAddr)
    {
        this.receiveAddr = receiveAddr;
    }

    public String getReceiveAddr()
    {
        return receiveAddr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("receiveId", getReceiveId())
            .append("receiveName", getReceiveName())
            .append("receiveAddr", getReceiveAddr())
            .toString();
    }
}
